package com.yvon.maple.service.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author : Yvon
 * @since : 2021-09-27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("角色权限请求参数")
public class RolePermissionDTO extends PermissionDTO implements Serializable {

    /**
     * 角色标识
     */
    @ApiModelProperty(name = "roleCode", value = "角色标识")
    private String roleCode;


    /**
     * 角色ID
     */
    @ApiModelProperty(name = "roleId", value = "角色ID")
    private Long roleId;
}
